package com.ljq;

public class monster1 extends Monster {
    public Room currentRoom;
    private String name = "食人鱼";
    int hp = 40;
    int CE =10;

//    public  void setCurrentRoom(Room room) {
//        Room room1 = new Room();
//        currentRoom = room1;
//    }
    // private Room currentRoom ;

//    public void show(){
//        System.out.println(name+"在 swim_pool");
//    }
    public monster1() {
    }

    public monster1(int hp, int CE, int hp1, int CE1) {
        super(hp, CE);
        this.hp = hp1;
        this.CE = CE1;
    }

    public monster1(int hp, int CE, String name, int hp1, int CE1, Room currentRoom) {
        super(hp, CE);
        this.name = name;
        this.hp = hp1;
        this.CE = CE1;
        this.currentRoom = currentRoom;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    @Override
    public int getHp() {
        return hp;
    }

    @Override
    public void setHp(int hp) {
        this.hp = hp;
    }

    @Override
    public int getCE() {
        return CE;
    }

    @Override
    public void setCE(int CE) {
        this.CE = CE;
    }

    public Room getCurrentRoom() {
        return currentRoom;
    }

    public void setCurrentRoom(Room currentRoom) {
        this.currentRoom = currentRoom;
    }
}
